.class Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface;
.super Ljava/lang/Object;
.source "EditNoteActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/youdao/note/activity/EditNoteActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "MyJavaScriptInteface"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/youdao/note/activity/EditNoteActivity;


# direct methods
.method constructor <init>(Lcom/youdao/note/activity/EditNoteActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 195
    iput-object p1, p0, Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface;->this$0:Lcom/youdao/note/activity/EditNoteActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public editContent(Ljava/lang/String;)V
    .locals 2
    .parameter "content"

    .prologue
    .line 215
    iget-object v0, p0, Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface;->this$0:Lcom/youdao/note/activity/EditNoteActivity;

    #getter for: Lcom/youdao/note/activity/EditNoteActivity;->handler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/youdao/note/activity/EditNoteActivity;->access$100(Lcom/youdao/note/activity/EditNoteActivity;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface$2;

    invoke-direct {v1, p0, p1}, Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface$2;-><init>(Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 233
    return-void
.end method

.method public onBodyFetched(Ljava/lang/String;Z)V
    .locals 2
    .parameter "body"
    .parameter "saveOnObtained"

    .prologue
    .line 197
    invoke-static {p0, p1}, Lcom/youdao/note/utils/L;->d(Ljava/lang/Object;Ljava/lang/String;)V

    .line 198
    iget-object v0, p0, Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface;->this$0:Lcom/youdao/note/activity/EditNoteActivity;

    #getter for: Lcom/youdao/note/activity/EditNoteActivity;->handler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/youdao/note/activity/EditNoteActivity;->access$100(Lcom/youdao/note/activity/EditNoteActivity;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface$1;

    invoke-direct {v1, p0, p1, p2}, Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface$1;-><init>(Lcom/youdao/note/activity/EditNoteActivity$MyJavaScriptInteface;Ljava/lang/String;Z)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 212
    return-void
.end method
